package com.example.midprojcampusspringboot.mapping;

import com.example.midprojcampusspringboot.domain.entity.TManagerActivity;
import com.example.midprojcampusspringboot.domain.params.ActivityAddParams;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface ActivityMapping {

    // 获得实例
    ActivityMapping INSTANCE = Mappers.getMapper(ActivityMapping.class);

    // 实体类转添加参数
    TManagerActivity toAddParam(ActivityAddParams activityAddParams);
}
